package com.qingcloud.df.executor.worker;

import com.qingcloud.df.sdk.component.init.NodeHeartbeat;
import com.qingcloud.df.sdk.component.job.BaseScheduler;
import org.quartz.JobExecutionContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ExecutorHeartbeatJob  extends BaseScheduler {

    Logger logger = LoggerFactory.getLogger(this.getClass());
    @Override
    protected void executeInternal(JobExecutionContext context) {
        try {
            NodeHeartbeat.init();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

    @Override
    public void exeRecord(String fireTime, String nextTime, String beginTime, String endTime, String jobInstance, String status) {

    }
}
